package util;

import java.io.*;
import java.util.LinkedList;

public class novelReader {
    //绝对路径
    //例如 /Users/tao/Desktop/java/Servlet/NetNovelStore/src/main/webapp/novelTXT/大奉打更人/1.txt
//    返回ocntent
    static BufferedReader in = null;
    public static  String readContent(String filePath) throws IOException {
        in =new BufferedReader(new FileReader(filePath));
        String content = in.readLine();
        in.close();
        return content;
    }
}
